import App from './App'

// #ifndef VUE3


import Vue from 'vue'
import './uni.promisify.adaptor'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// Vue.use(ElementPlus);

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  // el:'#app',
  // render: h => h(App)
  ...App
})
app.use(ElementPlus)
app.$mount()
// #endif


// #ifdef VUE3
import { createSSRApp } from 'vue'
//暴露给外部
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
